import { createApp } from 'vue';

import components from '@/components/index'; // 自定义全局组件
import { setupStore } from '@/stores/index';

import './app.scss';

const App = createApp({
  onShow(options) {
    console.log('APP onShow:::', options);
  },
  // 入口组件不需要实现 render 方法，即使实现了也会被 taro 所覆盖
});
setupStore(App);
App.use(components);

export default App;
